package com.devplatform.pojo.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ArticleDraftDto {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long articleId;
    private String title;
    private LocalDateTime updateTime;
    private List<String> categoryNames;
    private Integer attachmentCount;
}
